{% extends "nav.html" %}
{% block little %}存储{{ data.first.san }}{% endblock %}
{% block content %}
    <!-- Main Content -->
    <div class="container-fluid">
        <div class="side-body">
            <div class="page-title">
                <span class="title">业务情况表</span>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="card-header">
                            <div class="card-title">
                                <div class="title">存储内业务详情表</div>
                            </div>
                                <div class="card-body row">
                                    <table class="table table-bordered col-md-6" >
                                        <thead>
                                        <tr>
                                            <th >存储型号</th>
                                            <th>存储SN</th>
                                            <th>total/use</th>
                                            <th>业务名称</th>
                                            <th>业务别名</th>
                                            <th>使用容量</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        {% for i in data %}
{#                                            {% for k in i.stmap_set.all %}#}
                                                <tr>
                                                    <th>{{ i.ST_prodect }}</th>
                                                    <th >{{ i.ST_sn }}</th>
                                                    <th>{{ i.ST_totalcap }}/{{ i.ST_usecap }}</th>
                                                    <th>{{ i.stmap__mapname }}</th>
                                                    <th>{{ i.stmap__app }}</th>
                                                    <th>{{ i.stmap__totalcap }}</th>
                                                </tr>
{#                                            {% endfor %}#}
                                        {% endfor %}
                                        </tbody>
                                    </table>
                                </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
{% block js %}
    <script>
        $(function () {
        })
    </script>
{% endblock %}